home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Lock < prev    next >
Text File  |  1995-05-06  |  2KB  |  61 lines

  1.  
  2.             LOCK (1.X, 2.X, 3.X located in C:)
  3.  
  4.  
  5.  
  6.     NAME
  7.             LOCK - Enables or disables the write protection of a 
  8.         harddrive partition formatted under the Fast File System 
  9.         (FFS).
  10.  
  11.     SYNOPSIS
  12.         LOCK drive ON/OFF PASSWORD
  13.  
  14.     DESCRIPTION
  15.             1.x only lets you enable or disable the write 
  16.         protection of a FFS. 2.x/3.x it also enables or disables 
  17.         the write protection of every kind of disk including 
  18.         floppies. The drive is unlocked only when another LOCK 
  19.         command is sent or reboot the computer.
  20.  
  21.     KEYWORDS
  22.  
  23.         DRIVE
  24.             The name of the disk or partition. For 1.x, it can 
  25.         only be a hard drive formatted with the FFS. 2.x/3.x lets 
  26.         you LOCK floppy disks too. LOCK works a little 
  27.         differently on floppies than other commands.  Normally, 
  28.         when a command is set onto a floppy drive (eg. df0:) it 
  29.         will only effect that particular disk. But, with LOCK, it 
  30.         effects any and every disk inserted into the drive.
  31.  
  32.         ON/OFF
  33.             This keyword lets you protect the disk (LOCK ON) or 
  34.         write enable (LOCK OFF). The default is for the disk to 
  35.         be write enabled.
  36.  
  37.         PASSWORD
  38.             Under 1.2, this password had to be four characters 
  39.         long. On Operating Systems 1.3 and above it can be of any 
  40.         length.The password is considered to be a text string. 
  41.         Therefor, if there are spaces in it, it must be enclosed 
  42.         in quotes. If a a password was included in the LOCK ON 
  43.         command, the same password keyword must be used in the 
  44.         LOCK OFF command for the disk to be write enabled.
  45.  
  46.  
  47.     EXAMPLES
  48.             1.To protect harddrive partition Dh1: with a password 
  49.         of saturn:
  50.  
  51.         LOCK DH1: ON saturn
  52.  
  53.  
  54.             2. To turn off the same:
  55.  
  56.         LOCK DH1: OFF saturn
  57.  
  58.             or
  59.  
  60.         LOCK DH1: saturn
  61.